package com.cakemallproject.service;

import com.cakemallproject.pojo.mapperObj.Goods;

import java.util.List;

public interface GoodsService {

    List<Goods> list();

    void insert(Goods goods);

    void delete(List<Integer> ids);

    void update(Goods goods);

    Goods getById(Integer gid);

    List<Goods> search(String value, List<Integer> tids);

    List<Goods> getByTid(Integer tid);
}
